<template>
  <div class="wrapper">
    <div class="header">
      <div class="header__back iconfont" @click="handleBackClick">&#xe679;</div>
      <h4 class="header__title">我的地址</h4>
      <span class="header__create">新建</span>
    </div>
  </div>
</template>

<script>
import { useRouter } from 'vue-router';
import Docker from '../../components/Docker.vue';

export default {
  name: 'Address',
  components: { Docker },
  setup() {
    const router = useRouter();
    const handleBackClick = () => {
      router.back();
    };
    return { handleBackClick };
  },
};
</script>

<style lang="scss" scoped>
@import '../../style/variables.scss';
@import '../../style/mixins.scss';
.wrapper {
  overflow-y: auto;
  @include fix-content;
  background-color: $content-bgColor;
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 0.44rem;
  padding: 0 0.18rem;
  background-color: $bgColor;
  &__back {
    font-size: 0.16rem;
    color: $light-fontColor;
  }
  &__title {
    font-size: 0.16rem;
    color: $content-fontColor;
  }
  &__create {
    font-size: 0.14rem;
    color: $content-fontColor;
  }
}
</style>
